package cn.broadsense.thrid.result;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 全量同步编排任务状态信息
 *
 * @author pengxin
 * @date 2022-10-10 16:19
 */
@NoArgsConstructor
@Data
public class EvDualNetWorkResult implements Serializable {
    private static final long serialVersionUID = -98149836731561116L;


    private List<ResultsResult> results;

    @NoArgsConstructor
    @Data
    public static class ResultsResult {
        private String planTaskName;
        private String planTaskId;
        private Integer analysisType;
        private String status;
        private Integer polling;
        private Integer stat;
        private List<ChannelInfosResult> channelInfos;

        @NoArgsConstructor
        @Data
        public static class ChannelInfosResult {
            private String gbCode;
            private Integer runningStatus;
            private String logMsg;
            private String uniqueId;
            private String pollingStatus;
            private String stat;
            private String capGatewayId;
            private String capGatewayStatus;
            private String capGatewayLogMsg;
        }
    }
}
